//
//  QiLeCaiViewController.m
//  WangLottery
//
//  Created by 黄修勇 on 12-5-1.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "QiLeCaiViewController.h"

@interface QiLeCaiViewController ()

@end

@implementation QiLeCaiViewController

@synthesize bettingView=_bettingView;

-(void)dealloc{

    [_bettingView release];
    [super dealloc];
}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
        
        self.hidesBottomBarWhenPushed=YES;
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

#pragma mark -用户点击事件

-(IBAction)randomSelect:(id)sender{
    
    [self.bettingView randomSelect];
   
}

@end
